package org.dtrd.modules.doctor.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.config.system.Constant;
import org.dtrd.modules.record.entity.po.DtrdEntRdSigninSugarValue;

import java.util.Date;
import java.util.List;
import java.util.Optional;

/**
 * @author 51465
 */
@Getter
@Setter
@ApiModel("输出详情")
public class PatientSugarQueryValueListInfo {

        @ApiModelProperty("患者Id")
        private Integer patientId;

        @ApiModelProperty("患者姓名")
        private String patientName;

        @ApiModelProperty("医生Id")
        private Integer doctorId;

        @ApiModelProperty("记录日期")
        private Date recordDate;

        @ApiModelProperty("记录时间")
        private Date recordTime;

        @ApiModelProperty("1-早餐前,2-早餐后,3-午餐前,4-午餐后,5-晚餐前,6-晚餐后,7-睡前,8-凌晨")
        private Integer sugarValueTimeTypeId;

        @ApiModelProperty("血糖值")
        private Float sugarValueSugarValue;

        @ApiModelProperty("血糖值测量 0-未知,1-偏高,2-正常,3-偏低")
        private Integer sugarValueType;


//    public PatientSugarQueryValueListInfo(PatientSugarQueryValueListInfo po) {
//        this.patientName = po.getPatientName();
//        this.sugarValueTimeTypeId = po.getSugarValueTimeTypeId();
//        this.sugarValueSugarValue = po.getSugarValueSugarValue();
//        this.sugarValueType = po.getSugarValueType();
//    }
}
